﻿using System;
using System.Collections.Generic;
using System.Text;
using Pay.TO;

namespace Pay.DTO {
	/// <summary>
	/// 实名认证
	/// </summary>
	[Serializable]
	public class authinfo_dto {
		public authinfo_dto() {
		}

		/// <summary>
		/// 实名id
		/// </summary>
		public long id { get; set; }
		/// <summary>
		/// 商户id
		/// </summary>
		public long merchant_id { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string order_no { get; set; }
		/// <summary>
		/// 支付通道
		/// </summary>
		public PayChannel pay_channel { get; set; }
		/// <summary>
		/// 开户银行名称
		/// </summary>
		public string bank_name { get; set; }
        /// <summary>
        /// 卡号
        /// </summary>
        public string account_no { get; set; }
		/// <summary>
		/// 开户姓名/公司名称
		/// </summary>
		public string account_name { get; set; }
		/// <summary>
		/// 身份证
		/// </summary>
		public string id_card { get; set; }
		/// <summary>
		/// 证件手持照片
		/// </summary>
		public string card_img { get; set; }
		/// <summary>
		/// 预留手机号码
		/// </summary>
		public string mobile { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int type { get; set; }
        /// <summary>
        /// 证件类型：1身份证，2护照号，3港澳台往来通行证
        /// </summary>
        public int certificate_type { get; set; }
        /// <summary>
        /// 实名认证状态
        /// </summary>
        public CertifyStatus status { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime create_time { get; set; }
		/// <summary>
		/// 金额
		/// </summary>
		public decimal amount { get; set; }
		/// <summary>
		/// 备注
		/// </summary>
		public string remark { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? audit_time { get; set; }
        /// <summary>
        /// 审核人账号
        /// </summary>
        public string audit_user_mobile { get; set; }
        /// <summary>
        /// 用户信息
        /// </summary>
        public virtual merchant_dto merchant { get; set; }
    }

    /// <summary>
    /// API返回
    /// </summary>
    public class authinfo_req {
        /// <summary>
        /// 开户姓名/公司名称
        /// </summary>
        public string account_name { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string id_card { get; set; }
        /// <summary>
        /// 证件手持照片
        /// </summary>
        public string card_img { get; set; }
        /// <summary>
        /// 预留手机号码
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 证件号类型：1身份证，2护照号，3港澳台往来通行证
        /// </summary>
        public int certificate_type { get; set; }
        /// <summary>
        /// 实名认证状态
        /// </summary>
        public CertifyStatus status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
    }
}